package com.easondongh.system.utils;

import org.apache.shiro.crypto.hash.Md5Hash;

/**
 * @author EasonDongH
 * @date 2020/5/12 16:26
 */
public class MD5Utils {

    public static String md5(String source,String salt,Integer hashIterations){
        Md5Hash hash=new Md5Hash(source, salt, hashIterations);
        return hash.toString();
    }
}
